// ## common 通用
import Login from '../pages/common/Login.svelte';

// ## garage 车库
// 基础页面
import Home from '../pages/garage/Home.svelte';
import Profile from '../pages/garage/Profile.svelte';
import About from '../pages/garage/About.svelte';
import Setting from '../pages/garage/Setting.svelte';
// 汽车
import Vehicles from '../pages/garage/Vehicles.svelte';
import VehicleDetail from '../pages/garage/VehicleDetail.svelte';

// ## 流程
// 入库
import WarehouseEntryList from '../pages/operation/WarehouseEntryList.svelte';
import WarehouseEntryDetail from '../pages/operation/WarehouseEntryDetail.svelte';
import WarehouseEntry from '../pages/operation/WarehouseEntry.svelte';
import WarehouseEntryResult from '../pages/operation/WarehouseEntryResult.svelte';
// 出库
import WarehouseExitList from '../pages/operation/WarehouseExitList.svelte';
import WarehouseExitDetail from '../pages/operation/WarehouseExitDetail.svelte';
import WarehouseExit from '../pages/operation/WarehouseExit.svelte';
import WarehouseExitResult from '../pages/operation/WarehouseExitResult.svelte';
// 物流询价
import LogisticsInquiryList from '../pages/operation/LogisticsInquiryList.svelte';
import LogisticsInquiryDetail from '../pages/operation/LogisticsInquiryDetail.svelte';
import LogisticsInquiry from '../pages/operation/LogisticsInquiry.svelte';
import LogisticsInquiryResult from '../pages/operation/LogisticsInquiryResult.svelte';
// 寄钥匙
import KeyDeliveryList from '../pages/operation/KeyDeliveryList.svelte';
import KeyDeliveryDetail from '../pages/operation/KeyDeliveryDetail.svelte';
import KeyDelivery from '../pages/operation/KeyDelivery.svelte';
import KeyDeliveryResult from '../pages/operation/KeyDeliveryResult.svelte';
// 配钥匙
import KeyDuplicationList from '../pages/operation/KeyDuplicationList.svelte';
import KeyDuplicationDetail from '../pages/operation/KeyDuplicationDetail.svelte';
import KeyDuplication from '../pages/operation/KeyDuplication.svelte';
import KeyDuplicationResult from '../pages/operation/KeyDuplicationResult.svelte';
// 物品回寄
import ItemSendbackList from '../pages/operation/ItemSendbackList.svelte';
import ItemSendbackDetail from '../pages/operation/ItemSendbackDetail.svelte';
import ItemSendback from '../pages/operation/ItemSendback.svelte';
import ItemSendbackResult from '../pages/operation/ItemSendbackResult.svelte';
// 车辆维修
import VehicleRepairList from '../pages/operation/VehicleRepairList.svelte';
import VehicleRepairDetail from '../pages/operation/VehicleRepairDetail.svelte';
import VehicleRepair from '../pages/operation/VehicleRepair.svelte';
import VehicleRepairResult from '../pages/operation/VehicleRepairResult.svelte';

// ## test 测试
import ReactiveDeclarations from '../pages/test/ReactiveDeclarations.svelte';

export const routes = [
  // ## common 通用
  { path: '/login', component: Login },
  { path: '/profile', component: Profile },
  { path: '/', component: Home },

  { path: '/about', component: About },
  { path: '/setting', component: Setting },

  // ## garage 车库
  // 汽车
  { path: '/vehicles', component: Vehicles },
  { path: '/vihicle', component: VehicleDetail },

  // ## operation 流程
  // 入库报备
  { path: '/warehouse-entries', component: WarehouseEntryList },
  { path: '/warehouse-entry-detail', component: WarehouseEntryDetail },
  { path: '/warehouse-entry', component: WarehouseEntry },
  { path: '/warehouse-entry-result', component: WarehouseEntryResult },
  // 出库报备
  { path: '/warehouse-exits', component: WarehouseExitList },
  { path: '/warehouse-exit-detail', component: WarehouseExitDetail },
  { path: '/warehouse-exit', component: WarehouseExit },
  { path: '/warehouse-exit-result', component: WarehouseExitResult },
  // 物流询价
  { path: '/logistics-inquiries', component: LogisticsInquiryList },
  { path: '/logistics-inquiry-detail', component: LogisticsInquiryDetail },
  { path: '/logistics-inquiry', component: LogisticsInquiry },
  { path: '/logistics-inquiry-result', component: LogisticsInquiryResult },
  // 寄钥匙
  { path: '/key-deliveries', component: KeyDeliveryList },
  { path: '/key-delivery-detail', component: KeyDeliveryDetail },
  { path: '/key-delivery', component: KeyDelivery },
  { path: '/key-delivery-result', component: KeyDeliveryResult },
  // 配钥匙
  { path: '/key-duplications', component: KeyDuplicationList },
  { path: '/key-duplication-detail', component: KeyDuplicationDetail },
  { path: '/key-duplication', component: KeyDuplication },
  { path: '/key-duplication-result', component: KeyDuplicationResult },
  // 物品回寄
  { path: '/item-sendbacks', component: ItemSendbackList },
  { path: '/item-sendback-detail', component: ItemSendbackDetail },
  { path: '/item-sendback', component: ItemSendback },
  { path: '/item-sendback-result', component: ItemSendbackResult },
  // 汽车维修
  { path: '/vehicle-repairs', component: VehicleRepairList },
  { path: '/vehicle-repair-detail', component: VehicleRepairDetail },
  { path: '/vehicle-repair', component: VehicleRepair },
  { path: '/vehicle-repair-result', component: VehicleRepairResult },

  // ## test 测试
  { path: '/test/reactive-declarations', component: ReactiveDeclarations },
];
